Tables [dbo].[RelationshipCategoryRef]
Properties
PropertyValue
Created10:31:36 AM Tuesday, March 02, 2010
Last Modified11:40:07 AM Monday, February 20, 2012
Columns
NameData TypeMax Length (Bytes)Allow NullsDefault
Cluster Primary Key PK_RelationshipCategoryRef: RelationshipCategoryKeyRelationshipCategoryKeyuniqueidentifier16
No
Indexes IX_RelationshipCategoryRef: RelationshipCategoryNameRelationshipCategoryNamenvarchar(30)60
No
RelationshipCategoryDescriptionnvarchar(200)400
Yes
IsSystembit1
No
((0))
IsActivebit1
No
((1))
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_RelationshipCategoryRef: RelationshipCategoryKeyPK_RelationshipCategoryRefRelationshipCategoryKey
Yes
IX_RelationshipCategoryRefRelationshipCategoryName
Yes
SQL Script
CREATE TABLE [dbo].[RelationshipCategoryRef]
(
[RelationshipCategoryKey] [uniqueidentifier] NOT NULL,
[RelationshipCategoryName] [nvarchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[RelationshipCategoryDescription] [nvarchar] (200) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[IsSystem] [bit] NOT NULL CONSTRAINT [DF_RelationshipCategoryRef_IsSystem] DEFAULT ((0)),
[IsActive] [bit] NOT NULL CONSTRAINT [DF_RelationshipCategoryRef_IsActive] DEFAULT ((1))
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[RelationshipCategoryRef] ADD CONSTRAINT [PK_RelationshipCategoryRef] PRIMARY KEY CLUSTERED ([RelationshipCategoryKey]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_RelationshipCategoryRef] ON [dbo].[RelationshipCategoryRef] ([RelationshipCategoryName]) ON [PRIMARY]
GO
Uses
Used By